﻿using System;

namespace BNB7.Entry.States
{
    public interface IRoleStateBase
    {
        /// <summary>
        /// 状态值
        /// </summary>
        RoleState Type { get; }

        /// <summary>
        /// 改变状态
        /// </summary>
        /// <param name="state"></param>
        void ChangeState(RoleStateBase state);

        /// <summary>
        /// 绘画界面
        /// </summary>
        /// <param name="x"></param>
        /// <param name="y"></param>
        void Draw(int x, int y);

        /// <summary>
        /// 更新状态
        /// </summary>
        /// <param name="fDelta"></param>
        void Update(float fDelta);
    }
}
